package Student;

public class Test {

    public static void main(String[] args) {

        StudentDAO sdao = new StudentDAOImpl();
//      传入
//        sdao.insertstudent(new Student(10001,"张er三",18,"男","1班"));
//      删除
//        sdao.deletestudent(0);
//      修改
//        sdao.updatestudent(new Student(19,202422,"张三","女",20,"5班"));
//      查找（通过id）
//        System.out.println(sdao.findstudentById(19));
//      查找（全部）
        System.out.println(sdao.findAllstudent());
    }
}